using OrchardCore.ContentManagement.Handlers;
using System.Threading.Tasks;
using OrchardCore.ThemeTemplate.Models;

namespace OrchardCore.ThemeTemplate.Handlers
{
    public class PartHandler : ContentPartHandler<Part>
    {
        public override Task InitializingAsync(InitializingContentContext context, Part part)
        {
            part.Show = true;

            return Task.CompletedTask;
        }
    }
}